package drds.configuration.web.model.drds_home.dictionary;

import drds.configuration.db.table_mapping.*;
import drds.configuration.web.model.GroupDataSourceId;
import lombok.Getter;
import lombok.Setter;

import static drds.configuration.web.model.drds_home.dictionary.IndexType.__TABLE_NAME__;

@Table(groupDataSourceId = GroupDataSourceId.DRDS_HOME,//
        tableName = __TABLE_NAME__,//
        primaryKey = IndexType.ID,//
        checkBaseColumn = TableInfo.FALSE)//
public class IndexType extends Model {
    public static final String __TABLE_NAME__ = "dictionary_index_type";
    //
    @ColumnName
    public static final String ID = "id";
    //
    @ColumnName
    public static final String NAME = "name";
    @ColumnName
    public static final String CODE = "code";
    public static IndexType dao = new IndexType();
    @Setter
    @Getter
    @Field(withColumnName = ID)
    private Integer id;
    //
    @Setter
    @Getter
    @Field(withColumnName = NAME)
    private String name;
    @Setter
    @Getter
    @Field(withColumnName = CODE)
    private String code;

}